package com.seed.constants;

import lombok.Getter;

@Getter
public enum CommonResultStatusEnum {
    SUCCESS(200, null),
    ERROR_ARG(103, "参数错误"),
    DATA_NON_EXIST(400, "数据不存在"),
    HEAD_OFFICE_NO_PERMISSION(403, "当前用户无此权限"),
    ERROR_SERVICE(500, "服务器异常，请联系管理员");

    private Integer status;
    private String error;


    CommonResultStatusEnum(Integer status, String error) {
        this.status = status;
        this.error = error;
    }

}
